2012-03-26 08:54:17,341 [qtp0-1] ERROR (CoreProcessor.java:68) - An exception occurred while creating a query in EntityManager: 
Exception Description: Error compiling the query [Select a.profileId, a.description from Profile a where a.pk.companyId = ?1 and a.pk.languageId = ?2 and a.userId = ?3], line 1, column 9: unknown state or association field [profileId] of class [mobile.entity.security.Profile].
java.lang.IllegalArgumentException: An exception occurred while creating a query in EntityManager: 
Exception Description: Error compiling the query [Select a.profileId, a.description from Profile a where a.pk.companyId = ?1 and a.pk.languageId = ?2 and a.userId = ?3], line 1, column 9: unknown state or association field [profileId] of class [mobile.entity.security.Profile].
	at org.eclipse.persistence.internal.jpa.EntityManagerImpl.createQuery(EntityManagerImpl.java:1477)
	at mobile.core.processor.GeneralQuery.processQuery(GeneralQuery.java:268)
	at mobile.core.processor.GeneralQuery.process(GeneralQuery.java:35)
	at mobile.core.processor.CoreProcessor.executeProcesses(CoreProcessor.java:119)
	at mobile.core.processor.CoreProcessor.process(CoreProcessor.java:62)
	at mobile.core.server.Core.service(Core.java:71)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
	at org.mortbay.jetty.security.ConstraintsSecurityHandler.handle(ConstraintsSecurityHandler.java:220)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:822)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:305)
	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:229)
	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:113)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:324)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:550)
	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:890)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:743)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:215)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:407)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:421)
	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
Caused by: Exception [EclipseLink-8030] (Eclipse Persistence Services - 2.3.0.v20110604-r9504): org.eclipse.persistence.exceptions.JPQLException
Exception Description: Error compiling the query [Select a.profileId, a.description from Profile a where a.pk.companyId = ?1 and a.pk.languageId = ?2 and a.userId = ?3], line 1, column 9: unknown state or association field [profileId] of class [mobile.entity.security.Profile].
	at org.eclipse.persistence.exceptions.JPQLException.unknownAttribute(JPQLException.java:457)
	at org.eclipse.persistence.internal.jpa.parsing.DotNode.validate(DotNode.java:88)
	at org.eclipse.persistence.internal.jpa.parsing.SelectNode.validate(SelectNode.java:293)
	at org.eclipse.persistence.internal.jpa.parsing.ParseTree.validate(ParseTree.java:201)
	at org.eclipse.persistence.internal.jpa.parsing.ParseTree.validate(ParseTree.java:183)
	at org.eclipse.persistence.internal.jpa.parsing.ParseTree.validate(ParseTree.java:173)
	at org.eclipse.persistence.internal.jpa.parsing.JPQLParseTree.populateReadQueryInternal(JPQLParseTree.java:110)
	at org.eclipse.persistence.internal.jpa.parsing.JPQLParseTree.populateQuery(JPQLParseTree.java:84)
	at org.eclipse.persistence.internal.jpa.EJBQueryImpl.buildEJBQLDatabaseQuery(EJBQueryImpl.java:219)
	at org.eclipse.persistence.internal.jpa.EJBQueryImpl.buildEJBQLDatabaseQuery(EJBQueryImpl.java:190)
	at org.eclipse.persistence.internal.jpa.EJBQueryImpl.<init>(EJBQueryImpl.java:142)
	at org.eclipse.persistence.internal.jpa.EJBQueryImpl.<init>(EJBQueryImpl.java:126)
	at org.eclipse.persistence.internal.jpa.EntityManagerImpl.createQuery(EntityManagerImpl.java:1475)
	... 23 more
2012-03-26 08:54:34,709 [qtp0-1] ERROR (CoreProcessor.java:68) - An exception occurred while creating a query in EntityManager: 
Exception Description: Error compiling the query [Select a.profileId, a.description from Profile a where a.pk.companyId = ?1 and a.pk.languageId = ?2 and a.userId = ?3], line 1, column 9: unknown state or association field [profileId] of class [mobile.entity.security.Profile].
java.lang.IllegalArgumentException: An exception occurred while creating a query in EntityManager: 
Exception Description: Error compiling the query [Select a.profileId, a.description from Profile a where a.pk.companyId = ?1 and a.pk.languageId = ?2 and a.userId = ?3], line 1, column 9: unknown state or association field [profileId] of class [mobile.entity.security.Profile].
	at org.eclipse.persistence.internal.jpa.EntityManagerImpl.createQuery(EntityManagerImpl.java:1477)
	at mobile.core.processor.GeneralQuery.processQuery(GeneralQuery.java:268)
	at mobile.core.processor.GeneralQuery.process(GeneralQuery.java:35)
	at mobile.core.processor.CoreProcessor.executeProcesses(CoreProcessor.java:119)
	at mobile.core.processor.CoreProcessor.process(CoreProcessor.java:62)
	at mobile.core.server.Core.service(Core.java:71)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
	at org.mortbay.jetty.security.ConstraintsSecurityHandler.handle(ConstraintsSecurityHandler.java:220)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:822)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:305)
	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:229)
	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:113)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:324)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:550)
	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:890)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:743)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:215)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:407)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:421)
	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
Caused by: Exception [EclipseLink-8030] (Eclipse Persistence Services - 2.3.0.v20110604-r9504): org.eclipse.persistence.exceptions.JPQLException
Exception Description: Error compiling the query [Select a.profileId, a.description from Profile a where a.pk.companyId = ?1 and a.pk.languageId = ?2 and a.userId = ?3], line 1, column 9: unknown state or association field [profileId] of class [mobile.entity.security.Profile].
	at org.eclipse.persistence.exceptions.JPQLException.unknownAttribute(JPQLException.java:457)
	at org.eclipse.persistence.internal.jpa.parsing.DotNode.validate(DotNode.java:88)
	at org.eclipse.persistence.internal.jpa.parsing.SelectNode.validate(SelectNode.java:293)
	at org.eclipse.persistence.internal.jpa.parsing.ParseTree.validate(ParseTree.java:201)
	at org.eclipse.persistence.internal.jpa.parsing.ParseTree.validate(ParseTree.java:183)
	at org.eclipse.persistence.internal.jpa.parsing.ParseTree.validate(ParseTree.java:173)
	at org.eclipse.persistence.internal.jpa.parsing.JPQLParseTree.populateReadQueryInternal(JPQLParseTree.java:110)
	at org.eclipse.persistence.internal.jpa.parsing.JPQLParseTree.populateQuery(JPQLParseTree.java:84)
	at org.eclipse.persistence.internal.jpa.EJBQueryImpl.buildEJBQLDatabaseQuery(EJBQueryImpl.java:219)
	at org.eclipse.persistence.internal.jpa.EJBQueryImpl.buildEJBQLDatabaseQuery(EJBQueryImpl.java:190)
	at org.eclipse.persistence.internal.jpa.EJBQueryImpl.<init>(EJBQueryImpl.java:142)
	at org.eclipse.persistence.internal.jpa.EJBQueryImpl.<init>(EJBQueryImpl.java:126)
	at org.eclipse.persistence.internal.jpa.EntityManagerImpl.createQuery(EntityManagerImpl.java:1475)
	... 23 more
2012-03-26 09:34:17,541 [qtp0-0] ERROR (CoreProcessor.java:68) - For input string: "null"
java.lang.NumberFormatException: For input string: "null"
	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
	at java.lang.Integer.parseInt(Integer.java:449)
	at java.lang.Integer.parseInt(Integer.java:499)
	at mobile.tools.common.convertion.CoreConverter.convertToType(CoreConverter.java:333)
	at mobile.core.processor.GeneralMaintenance.completeItemsWithFilters(GeneralMaintenance.java:93)
	at mobile.core.processor.GeneralMaintenance.process(GeneralMaintenance.java:32)
	at mobile.core.processor.CoreProcessor.executeProcesses(CoreProcessor.java:121)
	at mobile.core.processor.CoreProcessor.process(CoreProcessor.java:62)
	at mobile.core.server.Core.service(Core.java:71)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
	at org.mortbay.jetty.security.ConstraintsSecurityHandler.handle(ConstraintsSecurityHandler.java:220)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:822)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:305)
	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:229)
	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:113)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:324)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:550)
	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:890)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:743)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:215)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:407)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:421)
	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
2012-03-26 11:48:10,510 [qtp0-0] ERROR (CoreProcessor.java:68) - 
Internal Exception: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: FUNCTION microxt.fncexpired does not exist
Error Code: 1305
Call: Select * from (select a.SOLICITUDE_ID, a.ASSESSOR, if(a.PARTNER_CLIENT_ID is not null, 'INDIVIDUAL', 'GRUPAL') TIPO_CLIENTE, if(a.PARTNER_CLIENT_ID is not null,      if(c.SECOND_LAST_NAME is not null, CONCAT(c.LAST_NAME, ' ', c.SECOND_LAST_NAME, ' ', c.NAME), CONCAT(c.LAST_NAME, ' ', c.NAME)),     (select group_description from PARTNER_GROUP where partner_group_id= a.group_client_id)) NOMBRE_CLIENTE, a.SOLICITUDE_DATE, a.PRODUCT_ID,  (Select DESCRIPTION from SOLICITUDE_STATUS where STATUS_ID=a.STATUS_ID and COMPANY_ID = 'MXT' ) STATUS, a.AMOUNT, a.TERM, a.QUOTA_TYPE_ID,  (Select DESCRIPTION from FREQUENCY where FREQUENCY_ID=a.PAYMENT_FREQUENCY_ID and COMPANY_ID = 'MXT' ) FREQ, (Select DESCRIPTION from FUNDS_DESTINATION where FUNDS_DESTINATION_ID=a.FUNDS_DESTINATION_ID and COMPANY_ID='MXT' and language_id='ES') FUNDS_DESTINATION from SOLICITUDE a left outer join PARTNER b on b.company_id=a.company_id and b.language_id=a.language_id and b.expired=a.expired and b.partner_id=a.partner_client_id left outer join PERSON c on c.company_id=b.company_id and c.expired=b.expired and c.person_id=b.person_id where a.EXPIRED = fncexpired() and a.COMPANY_ID = 'MXT' and a.INSTRUMENTATION_DATE is null) as alias0 order by SOLICITUDE_ID
Query: DataReadQuery(sql="Select * from (select a.SOLICITUDE_ID, a.ASSESSOR, if(a.PARTNER_CLIENT_ID is not null, 'INDIVIDUAL', 'GRUPAL') TIPO_CLIENTE, if(a.PARTNER_CLIENT_ID is not null,      if(c.SECOND_LAST_NAME is not null, CONCAT(c.LAST_NAME, ' ', c.SECOND_LAST_NAME, ' ', c.NAME), CONCAT(c.LAST_NAME, ' ', c.NAME)),     (select group_description from PARTNER_GROUP where partner_group_id= a.group_client_id)) NOMBRE_CLIENTE, a.SOLICITUDE_DATE, a.PRODUCT_ID,  (Select DESCRIPTION from SOLICITUDE_STATUS where STATUS_ID=a.STATUS_ID and COMPANY_ID = 'MXT' ) STATUS, a.AMOUNT, a.TERM, a.QUOTA_TYPE_ID,  (Select DESCRIPTION from FREQUENCY where FREQUENCY_ID=a.PAYMENT_FREQUENCY_ID and COMPANY_ID = 'MXT' ) FREQ, (Select DESCRIPTION from FUNDS_DESTINATION where FUNDS_DESTINATION_ID=a.FUNDS_DESTINATION_ID and COMPANY_ID='MXT' and language_id='ES') FUNDS_DESTINATION from SOLICITUDE a left outer join PARTNER b on b.company_id=a.company_id and b.language_id=a.language_id and b.expired=a.expired and b.partner_id=a.partner_client_id left outer join PERSON c on c.company_id=b.company_id and c.expired=b.expired and c.person_id=b.person_id where a.EXPIRED = fncexpired() and a.COMPANY_ID = 'MXT' and a.INSTRUMENTATION_DATE is null) as alias0 order by SOLICITUDE_ID")
Local Exception Stack: 
Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.3.0.v20110604-r9504): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: FUNCTION microxt.fncexpired does not exist
Error Code: 1305
Call: Select * from (select a.SOLICITUDE_ID, a.ASSESSOR, if(a.PARTNER_CLIENT_ID is not null, 'INDIVIDUAL', 'GRUPAL') TIPO_CLIENTE, if(a.PARTNER_CLIENT_ID is not null,      if(c.SECOND_LAST_NAME is not null, CONCAT(c.LAST_NAME, ' ', c.SECOND_LAST_NAME, ' ', c.NAME), CONCAT(c.LAST_NAME, ' ', c.NAME)),     (select group_description from PARTNER_GROUP where partner_group_id= a.group_client_id)) NOMBRE_CLIENTE, a.SOLICITUDE_DATE, a.PRODUCT_ID,  (Select DESCRIPTION from SOLICITUDE_STATUS where STATUS_ID=a.STATUS_ID and COMPANY_ID = 'MXT' ) STATUS, a.AMOUNT, a.TERM, a.QUOTA_TYPE_ID,  (Select DESCRIPTION from FREQUENCY where FREQUENCY_ID=a.PAYMENT_FREQUENCY_ID and COMPANY_ID = 'MXT' ) FREQ, (Select DESCRIPTION from FUNDS_DESTINATION where FUNDS_DESTINATION_ID=a.FUNDS_DESTINATION_ID and COMPANY_ID='MXT' and language_id='ES') FUNDS_DESTINATION from SOLICITUDE a left outer join PARTNER b on b.company_id=a.company_id and b.language_id=a.language_id and b.expired=a.expired and b.partner_id=a.partner_client_id left outer join PERSON c on c.company_id=b.company_id and c.expired=b.expired and c.person_id=b.person_id where a.EXPIRED = fncexpired() and a.COMPANY_ID = 'MXT' and a.INSTRUMENTATION_DATE is null) as alias0 order by SOLICITUDE_ID
Query: DataReadQuery(sql="Select * from (select a.SOLICITUDE_ID, a.ASSESSOR, if(a.PARTNER_CLIENT_ID is not null, 'INDIVIDUAL', 'GRUPAL') TIPO_CLIENTE, if(a.PARTNER_CLIENT_ID is not null,      if(c.SECOND_LAST_NAME is not null, CONCAT(c.LAST_NAME, ' ', c.SECOND_LAST_NAME, ' ', c.NAME), CONCAT(c.LAST_NAME, ' ', c.NAME)),     (select group_description from PARTNER_GROUP where partner_group_id= a.group_client_id)) NOMBRE_CLIENTE, a.SOLICITUDE_DATE, a.PRODUCT_ID,  (Select DESCRIPTION from SOLICITUDE_STATUS where STATUS_ID=a.STATUS_ID and COMPANY_ID = 'MXT' ) STATUS, a.AMOUNT, a.TERM, a.QUOTA_TYPE_ID,  (Select DESCRIPTION from FREQUENCY where FREQUENCY_ID=a.PAYMENT_FREQUENCY_ID and COMPANY_ID = 'MXT' ) FREQ, (Select DESCRIPTION from FUNDS_DESTINATION where FUNDS_DESTINATION_ID=a.FUNDS_DESTINATION_ID and COMPANY_ID='MXT' and language_id='ES') FUNDS_DESTINATION from SOLICITUDE a left outer join PARTNER b on b.company_id=a.company_id and b.language_id=a.language_id and b.expired=a.expired and b.partner_id=a.partner_client_id left outer join PERSON c on c.company_id=b.company_id and c.expired=b.expired and c.person_id=b.person_id where a.EXPIRED = fncexpired() and a.COMPANY_ID = 'MXT' and a.INSTRUMENTATION_DATE is null) as alias0 order by SOLICITUDE_ID")
	at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:333)
	at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:644)
	at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:535)
	at org.eclipse.persistence.internal.sessions.AbstractSession.basicExecuteCall(AbstractSession.java:1702)
	at org.eclipse.persistence.sessions.server.ClientSession.executeCall(ClientSession.java:253)
	at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:207)
	at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:193)
	at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeSelectCall(DatasourceCallQueryMechanism.java:264)
	at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeSelect(DatasourceCallQueryMechanism.java:246)
	at org.eclipse.persistence.queries.DataReadQuery.executeNonCursor(DataReadQuery.java:197)
	at org.eclipse.persistence.queries.DataReadQuery.executeDatabaseQuery(DataReadQuery.java:152)
	at org.eclipse.persistence.queries.DatabaseQuery.execute(DatabaseQuery.java:829)
	at org.eclipse.persistence.queries.DataReadQuery.execute(DataReadQuery.java:137)
	at org.eclipse.persistence.queries.DatabaseQuery.executeInUnitOfWork(DatabaseQuery.java:728)
	at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2863)
	at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1501)
	at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1483)
	at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1457)
	at org.eclipse.persistence.internal.jpa.EJBQueryImpl.executeReadQuery(EJBQueryImpl.java:485)
	at org.eclipse.persistence.internal.jpa.EJBQueryImpl.getResultList(EJBQueryImpl.java:742)
	at mobile.logic.microxt.query.QuerySolicitude.process(QuerySolicitude.java:45)
	at mobile.core.processor.CoreProcessor.executeProcesses(CoreProcessor.java:136)
	at mobile.core.processor.CoreProcessor.process(CoreProcessor.java:62)
	at mobile.core.server.Core.service(Core.java:71)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
	at org.mortbay.jetty.security.ConstraintsSecurityHandler.handle(ConstraintsSecurityHandler.java:220)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:822)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:305)
	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:229)
	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:113)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:324)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:550)
	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:890)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:743)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:215)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:407)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:421)
	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: FUNCTION microxt.fncexpired does not exist
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
	at com.mysql.jdbc.Util.getInstance(Util.java:386)
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3597)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3529)
	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1990)
	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2151)
	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2625)
	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2119)
	at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2281)
	at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeSelect(DatabaseAccessor.java:931)
	at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:607)
	... 40 more
2012-03-26 14:37:33,341 [qtp0-0] ERROR (CoreProcessor.java:68) - 
Internal Exception: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: FUNCTION microxt.fncexpired does not exist
Error Code: 1305
Call: Select * from (select a.SOLICITUDE_ID, a.ASSESSOR, if(a.PARTNER_CLIENT_ID is not null, 'INDIVIDUAL', 'GRUPAL') TIPO_CLIENTE, if(a.PARTNER_CLIENT_ID is not null,      if(c.SECOND_LAST_NAME is not null, CONCAT(c.LAST_NAME, ' ', c.SECOND_LAST_NAME, ' ', c.NAME), CONCAT(c.LAST_NAME, ' ', c.NAME)),     (select group_description from PARTNER_GROUP where partner_group_id= a.group_client_id)) NOMBRE_CLIENTE, a.SOLICITUDE_DATE, a.PRODUCT_ID,  (Select DESCRIPTION from SOLICITUDE_STATUS where STATUS_ID=a.STATUS_ID and COMPANY_ID = 'MXT' ) STATUS, a.AMOUNT, a.TERM, a.QUOTA_TYPE_ID,  (Select DESCRIPTION from FREQUENCY where FREQUENCY_ID=a.PAYMENT_FREQUENCY_ID and COMPANY_ID = 'MXT' ) FREQ, (Select DESCRIPTION from FUNDS_DESTINATION where FUNDS_DESTINATION_ID=a.FUNDS_DESTINATION_ID and COMPANY_ID='MXT' and language_id='ES') FUNDS_DESTINATION from SOLICITUDE a left outer join PARTNER b on b.company_id=a.company_id and b.language_id=a.language_id and b.expired=a.expired and b.partner_id=a.partner_client_id left outer join PERSON c on c.company_id=b.company_id and c.expired=b.expired and c.person_id=b.person_id where a.EXPIRED = fncexpired() and a.COMPANY_ID = 'MXT' and a.INSTRUMENTATION_DATE is null) as alias0 where STATUS like 'APROVADA%'
Query: DataReadQuery(sql="Select * from (select a.SOLICITUDE_ID, a.ASSESSOR, if(a.PARTNER_CLIENT_ID is not null, 'INDIVIDUAL', 'GRUPAL') TIPO_CLIENTE, if(a.PARTNER_CLIENT_ID is not null,      if(c.SECOND_LAST_NAME is not null, CONCAT(c.LAST_NAME, ' ', c.SECOND_LAST_NAME, ' ', c.NAME), CONCAT(c.LAST_NAME, ' ', c.NAME)),     (select group_description from PARTNER_GROUP where partner_group_id= a.group_client_id)) NOMBRE_CLIENTE, a.SOLICITUDE_DATE, a.PRODUCT_ID,  (Select DESCRIPTION from SOLICITUDE_STATUS where STATUS_ID=a.STATUS_ID and COMPANY_ID = 'MXT' ) STATUS, a.AMOUNT, a.TERM, a.QUOTA_TYPE_ID,  (Select DESCRIPTION from FREQUENCY where FREQUENCY_ID=a.PAYMENT_FREQUENCY_ID and COMPANY_ID = 'MXT' ) FREQ, (Select DESCRIPTION from FUNDS_DESTINATION where FUNDS_DESTINATION_ID=a.FUNDS_DESTINATION_ID and COMPANY_ID='MXT' and language_id='ES') FUNDS_DESTINATION from SOLICITUDE a left outer join PARTNER b on b.company_id=a.company_id and b.language_id=a.language_id and b.expired=a.expired and b.partner_id=a.partner_client_id left outer join PERSON c on c.company_id=b.company_id and c.expired=b.expired and c.person_id=b.person_id where a.EXPIRED = fncexpired() and a.COMPANY_ID = 'MXT' and a.INSTRUMENTATION_DATE is null) as alias0 where STATUS like 'APROVADA%'")
Local Exception Stack: 
Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.3.0.v20110604-r9504): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: FUNCTION microxt.fncexpired does not exist
Error Code: 1305
Call: Select * from (select a.SOLICITUDE_ID, a.ASSESSOR, if(a.PARTNER_CLIENT_ID is not null, 'INDIVIDUAL', 'GRUPAL') TIPO_CLIENTE, if(a.PARTNER_CLIENT_ID is not null,      if(c.SECOND_LAST_NAME is not null, CONCAT(c.LAST_NAME, ' ', c.SECOND_LAST_NAME, ' ', c.NAME), CONCAT(c.LAST_NAME, ' ', c.NAME)),     (select group_description from PARTNER_GROUP where partner_group_id= a.group_client_id)) NOMBRE_CLIENTE, a.SOLICITUDE_DATE, a.PRODUCT_ID,  (Select DESCRIPTION from SOLICITUDE_STATUS where STATUS_ID=a.STATUS_ID and COMPANY_ID = 'MXT' ) STATUS, a.AMOUNT, a.TERM, a.QUOTA_TYPE_ID,  (Select DESCRIPTION from FREQUENCY where FREQUENCY_ID=a.PAYMENT_FREQUENCY_ID and COMPANY_ID = 'MXT' ) FREQ, (Select DESCRIPTION from FUNDS_DESTINATION where FUNDS_DESTINATION_ID=a.FUNDS_DESTINATION_ID and COMPANY_ID='MXT' and language_id='ES') FUNDS_DESTINATION from SOLICITUDE a left outer join PARTNER b on b.company_id=a.company_id and b.language_id=a.language_id and b.expired=a.expired and b.partner_id=a.partner_client_id left outer join PERSON c on c.company_id=b.company_id and c.expired=b.expired and c.person_id=b.person_id where a.EXPIRED = fncexpired() and a.COMPANY_ID = 'MXT' and a.INSTRUMENTATION_DATE is null) as alias0 where STATUS like 'APROVADA%'
Query: DataReadQuery(sql="Select * from (select a.SOLICITUDE_ID, a.ASSESSOR, if(a.PARTNER_CLIENT_ID is not null, 'INDIVIDUAL', 'GRUPAL') TIPO_CLIENTE, if(a.PARTNER_CLIENT_ID is not null,      if(c.SECOND_LAST_NAME is not null, CONCAT(c.LAST_NAME, ' ', c.SECOND_LAST_NAME, ' ', c.NAME), CONCAT(c.LAST_NAME, ' ', c.NAME)),     (select group_description from PARTNER_GROUP where partner_group_id= a.group_client_id)) NOMBRE_CLIENTE, a.SOLICITUDE_DATE, a.PRODUCT_ID,  (Select DESCRIPTION from SOLICITUDE_STATUS where STATUS_ID=a.STATUS_ID and COMPANY_ID = 'MXT' ) STATUS, a.AMOUNT, a.TERM, a.QUOTA_TYPE_ID,  (Select DESCRIPTION from FREQUENCY where FREQUENCY_ID=a.PAYMENT_FREQUENCY_ID and COMPANY_ID = 'MXT' ) FREQ, (Select DESCRIPTION from FUNDS_DESTINATION where FUNDS_DESTINATION_ID=a.FUNDS_DESTINATION_ID and COMPANY_ID='MXT' and language_id='ES') FUNDS_DESTINATION from SOLICITUDE a left outer join PARTNER b on b.company_id=a.company_id and b.language_id=a.language_id and b.expired=a.expired and b.partner_id=a.partner_client_id left outer join PERSON c on c.company_id=b.company_id and c.expired=b.expired and c.person_id=b.person_id where a.EXPIRED = fncexpired() and a.COMPANY_ID = 'MXT' and a.INSTRUMENTATION_DATE is null) as alias0 where STATUS like 'APROVADA%'")
	at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:333)
	at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:644)
	at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:535)
	at org.eclipse.persistence.internal.sessions.AbstractSession.basicExecuteCall(AbstractSession.java:1702)
	at org.eclipse.persistence.sessions.server.ClientSession.executeCall(ClientSession.java:253)
	at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:207)
	at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:193)
	at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeSelectCall(DatasourceCallQueryMechanism.java:264)
	at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeSelect(DatasourceCallQueryMechanism.java:246)
	at org.eclipse.persistence.queries.DataReadQuery.executeNonCursor(DataReadQuery.java:197)
	at org.eclipse.persistence.queries.DataReadQuery.executeDatabaseQuery(DataReadQuery.java:152)
	at org.eclipse.persistence.queries.DatabaseQuery.execute(DatabaseQuery.java:829)
	at org.eclipse.persistence.queries.DataReadQuery.execute(DataReadQuery.java:137)
	at org.eclipse.persistence.queries.DatabaseQuery.executeInUnitOfWork(DatabaseQuery.java:728)
	at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2863)
	at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1501)
	at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1483)
	at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1457)
	at org.eclipse.persistence.internal.jpa.EJBQueryImpl.executeReadQuery(EJBQueryImpl.java:485)
	at org.eclipse.persistence.internal.jpa.EJBQueryImpl.getResultList(EJBQueryImpl.java:742)
	at mobile.logic.microxt.query.QuerySolicitude.process(QuerySolicitude.java:45)
	at mobile.core.processor.CoreProcessor.executeProcesses(CoreProcessor.java:136)
	at mobile.core.processor.CoreProcessor.process(CoreProcessor.java:62)
	at mobile.core.server.Core.service(Core.java:71)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
	at org.mortbay.jetty.security.ConstraintsSecurityHandler.handle(ConstraintsSecurityHandler.java:220)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:822)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:305)
	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:229)
	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:113)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:324)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:550)
	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:890)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:743)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:215)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:407)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:421)
	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: FUNCTION microxt.fncexpired does not exist
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
	at com.mysql.jdbc.Util.getInstance(Util.java:386)
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3597)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3529)
	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1990)
	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2151)
	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2625)
	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2119)
	at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2281)
	at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeSelect(DatabaseAccessor.java:931)
	at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:607)
	... 40 more
2012-03-28 21:46:42,078 [qtp0-0] ERROR (CoreProcessor.java:68) - 
Internal Exception: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: FUNCTION microxt.fncexpired does not exist
Error Code: 1305
Call: Select * from (select a.SOLICITUDE_ID, a.ASSESSOR, if(a.PARTNER_CLIENT_ID is not null, 'INDIVIDUAL', 'GRUPAL') TIPO_CLIENTE, if(a.PARTNER_CLIENT_ID is not null,      if(c.SECOND_LAST_NAME is not null, CONCAT(c.LAST_NAME, ' ', c.SECOND_LAST_NAME, ' ', c.NAME), CONCAT(c.LAST_NAME, ' ', c.NAME)),     (select group_description from PARTNER_GROUP where partner_group_id= a.group_client_id)) NOMBRE_CLIENTE, a.SOLICITUDE_DATE, a.PRODUCT_ID,  (Select DESCRIPTION from SOLICITUDE_STATUS where STATUS_ID=a.STATUS_ID and COMPANY_ID = 'MXT' ) STATUS, a.AMOUNT, a.TERM, a.QUOTA_TYPE_ID,  (Select DESCRIPTION from FREQUENCY where FREQUENCY_ID=a.PAYMENT_FREQUENCY_ID and COMPANY_ID = 'MXT' ) FREQ, (Select DESCRIPTION from FUNDS_DESTINATION where FUNDS_DESTINATION_ID=a.FUNDS_DESTINATION_ID and COMPANY_ID='MXT' and language_id='ES') FUNDS_DESTINATION from SOLICITUDE a left outer join PARTNER b on b.company_id=a.company_id and b.language_id=a.language_id and b.expired=a.expired and b.partner_id=a.partner_client_id left outer join PERSON c on c.company_id=b.company_id and c.expired=b.expired and c.person_id=b.person_id where a.EXPIRED = fncexpired() and a.COMPANY_ID = 'MXT' and a.INSTRUMENTATION_DATE is null) as alias0 order by SOLICITUDE_ID
Query: DataReadQuery(sql="Select * from (select a.SOLICITUDE_ID, a.ASSESSOR, if(a.PARTNER_CLIENT_ID is not null, 'INDIVIDUAL', 'GRUPAL') TIPO_CLIENTE, if(a.PARTNER_CLIENT_ID is not null,      if(c.SECOND_LAST_NAME is not null, CONCAT(c.LAST_NAME, ' ', c.SECOND_LAST_NAME, ' ', c.NAME), CONCAT(c.LAST_NAME, ' ', c.NAME)),     (select group_description from PARTNER_GROUP where partner_group_id= a.group_client_id)) NOMBRE_CLIENTE, a.SOLICITUDE_DATE, a.PRODUCT_ID,  (Select DESCRIPTION from SOLICITUDE_STATUS where STATUS_ID=a.STATUS_ID and COMPANY_ID = 'MXT' ) STATUS, a.AMOUNT, a.TERM, a.QUOTA_TYPE_ID,  (Select DESCRIPTION from FREQUENCY where FREQUENCY_ID=a.PAYMENT_FREQUENCY_ID and COMPANY_ID = 'MXT' ) FREQ, (Select DESCRIPTION from FUNDS_DESTINATION where FUNDS_DESTINATION_ID=a.FUNDS_DESTINATION_ID and COMPANY_ID='MXT' and language_id='ES') FUNDS_DESTINATION from SOLICITUDE a left outer join PARTNER b on b.company_id=a.company_id and b.language_id=a.language_id and b.expired=a.expired and b.partner_id=a.partner_client_id left outer join PERSON c on c.company_id=b.company_id and c.expired=b.expired and c.person_id=b.person_id where a.EXPIRED = fncexpired() and a.COMPANY_ID = 'MXT' and a.INSTRUMENTATION_DATE is null) as alias0 order by SOLICITUDE_ID")
Local Exception Stack: 
Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.3.0.v20110604-r9504): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: FUNCTION microxt.fncexpired does not exist
Error Code: 1305
Call: Select * from (select a.SOLICITUDE_ID, a.ASSESSOR, if(a.PARTNER_CLIENT_ID is not null, 'INDIVIDUAL', 'GRUPAL') TIPO_CLIENTE, if(a.PARTNER_CLIENT_ID is not null,      if(c.SECOND_LAST_NAME is not null, CONCAT(c.LAST_NAME, ' ', c.SECOND_LAST_NAME, ' ', c.NAME), CONCAT(c.LAST_NAME, ' ', c.NAME)),     (select group_description from PARTNER_GROUP where partner_group_id= a.group_client_id)) NOMBRE_CLIENTE, a.SOLICITUDE_DATE, a.PRODUCT_ID,  (Select DESCRIPTION from SOLICITUDE_STATUS where STATUS_ID=a.STATUS_ID and COMPANY_ID = 'MXT' ) STATUS, a.AMOUNT, a.TERM, a.QUOTA_TYPE_ID,  (Select DESCRIPTION from FREQUENCY where FREQUENCY_ID=a.PAYMENT_FREQUENCY_ID and COMPANY_ID = 'MXT' ) FREQ, (Select DESCRIPTION from FUNDS_DESTINATION where FUNDS_DESTINATION_ID=a.FUNDS_DESTINATION_ID and COMPANY_ID='MXT' and language_id='ES') FUNDS_DESTINATION from SOLICITUDE a left outer join PARTNER b on b.company_id=a.company_id and b.language_id=a.language_id and b.expired=a.expired and b.partner_id=a.partner_client_id left outer join PERSON c on c.company_id=b.company_id and c.expired=b.expired and c.person_id=b.person_id where a.EXPIRED = fncexpired() and a.COMPANY_ID = 'MXT' and a.INSTRUMENTATION_DATE is null) as alias0 order by SOLICITUDE_ID
Query: DataReadQuery(sql="Select * from (select a.SOLICITUDE_ID, a.ASSESSOR, if(a.PARTNER_CLIENT_ID is not null, 'INDIVIDUAL', 'GRUPAL') TIPO_CLIENTE, if(a.PARTNER_CLIENT_ID is not null,      if(c.SECOND_LAST_NAME is not null, CONCAT(c.LAST_NAME, ' ', c.SECOND_LAST_NAME, ' ', c.NAME), CONCAT(c.LAST_NAME, ' ', c.NAME)),     (select group_description from PARTNER_GROUP where partner_group_id= a.group_client_id)) NOMBRE_CLIENTE, a.SOLICITUDE_DATE, a.PRODUCT_ID,  (Select DESCRIPTION from SOLICITUDE_STATUS where STATUS_ID=a.STATUS_ID and COMPANY_ID = 'MXT' ) STATUS, a.AMOUNT, a.TERM, a.QUOTA_TYPE_ID,  (Select DESCRIPTION from FREQUENCY where FREQUENCY_ID=a.PAYMENT_FREQUENCY_ID and COMPANY_ID = 'MXT' ) FREQ, (Select DESCRIPTION from FUNDS_DESTINATION where FUNDS_DESTINATION_ID=a.FUNDS_DESTINATION_ID and COMPANY_ID='MXT' and language_id='ES') FUNDS_DESTINATION from SOLICITUDE a left outer join PARTNER b on b.company_id=a.company_id and b.language_id=a.language_id and b.expired=a.expired and b.partner_id=a.partner_client_id left outer join PERSON c on c.company_id=b.company_id and c.expired=b.expired and c.person_id=b.person_id where a.EXPIRED = fncexpired() and a.COMPANY_ID = 'MXT' and a.INSTRUMENTATION_DATE is null) as alias0 order by SOLICITUDE_ID")
	at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:333)
	at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:644)
	at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:535)
	at org.eclipse.persistence.internal.sessions.AbstractSession.basicExecuteCall(AbstractSession.java:1702)
	at org.eclipse.persistence.sessions.server.ClientSession.executeCall(ClientSession.java:253)
	at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:207)
	at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:193)
	at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeSelectCall(DatasourceCallQueryMechanism.java:264)
	at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeSelect(DatasourceCallQueryMechanism.java:246)
	at org.eclipse.persistence.queries.DataReadQuery.executeNonCursor(DataReadQuery.java:197)
	at org.eclipse.persistence.queries.DataReadQuery.executeDatabaseQuery(DataReadQuery.java:152)
	at org.eclipse.persistence.queries.DatabaseQuery.execute(DatabaseQuery.java:829)
	at org.eclipse.persistence.queries.DataReadQuery.execute(DataReadQuery.java:137)
	at org.eclipse.persistence.queries.DatabaseQuery.executeInUnitOfWork(DatabaseQuery.java:728)
	at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2863)
	at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1501)
	at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1483)
	at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1457)
	at org.eclipse.persistence.internal.jpa.EJBQueryImpl.executeReadQuery(EJBQueryImpl.java:485)
	at org.eclipse.persistence.internal.jpa.EJBQueryImpl.getResultList(EJBQueryImpl.java:742)
	at mobile.logic.microxt.query.QuerySolicitude.process(QuerySolicitude.java:45)
	at mobile.core.processor.CoreProcessor.executeProcesses(CoreProcessor.java:136)
	at mobile.core.processor.CoreProcessor.process(CoreProcessor.java:62)
	at mobile.core.server.Core.service(Core.java:71)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
	at org.mortbay.jetty.security.ConstraintsSecurityHandler.handle(ConstraintsSecurityHandler.java:220)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:822)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:305)
	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:229)
	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:113)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:324)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:550)
	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:890)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:743)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:215)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:407)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:421)
	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: FUNCTION microxt.fncexpired does not exist
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
	at com.mysql.jdbc.Util.getInstance(Util.java:386)
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3597)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3529)
	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1990)
	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2151)
	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2625)
	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2119)
	at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2281)
	at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeSelect(DatabaseAccessor.java:931)
	at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:607)
	... 40 more
2012-04-02 01:37:58,842 [qtp0-0] ERROR (CoreProcessor.java:68) - 
Internal Exception: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '))) ORDER BY SUBSYSTEM_ID ASC' at line 1
Error Code: 1064
Call: SELECT NAME, SUBSYSTEM_ID, COMPANY_ID, LANGUAGE_ID FROM SUBSYSTEM WHERE (((COMPANY_ID = ?) AND (LANGUAGE_ID = ?)) AND (SUBSYSTEM_ID IN ())) ORDER BY SUBSYSTEM_ID ASC
	bind => [MXT, ES]
Query: ReadAllQuery(referenceClass=Subsystem sql="SELECT NAME, SUBSYSTEM_ID, COMPANY_ID, LANGUAGE_ID FROM SUBSYSTEM WHERE (((COMPANY_ID = ?) AND (LANGUAGE_ID = ?)) AND (SUBSYSTEM_ID IN ?)) ORDER BY SUBSYSTEM_ID ASC")
Local Exception Stack: 
Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.3.0.v20110604-r9504): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '))) ORDER BY SUBSYSTEM_ID ASC' at line 1
Error Code: 1064
Call: SELECT NAME, SUBSYSTEM_ID, COMPANY_ID, LANGUAGE_ID FROM SUBSYSTEM WHERE (((COMPANY_ID = ?) AND (LANGUAGE_ID = ?)) AND (SUBSYSTEM_ID IN ())) ORDER BY SUBSYSTEM_ID ASC
	bind => [MXT, ES]
Query: ReadAllQuery(referenceClass=Subsystem sql="SELECT NAME, SUBSYSTEM_ID, COMPANY_ID, LANGUAGE_ID FROM SUBSYSTEM WHERE (((COMPANY_ID = ?) AND (LANGUAGE_ID = ?)) AND (SUBSYSTEM_ID IN ?)) ORDER BY SUBSYSTEM_ID ASC")
	at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:333)
	at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:644)
	at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:535)
	at org.eclipse.persistence.internal.sessions.AbstractSession.basicExecuteCall(AbstractSession.java:1702)
	at org.eclipse.persistence.sessions.server.ClientSession.executeCall(ClientSession.java:253)
	at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:207)
	at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:193)
	at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeSelectCall(DatasourceCallQueryMechanism.java:264)
	at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.selectAllRows(DatasourceCallQueryMechanism.java:646)
	at org.eclipse.persistence.internal.queries.ExpressionQueryMechanism.selectAllRowsFromTable(ExpressionQueryMechanism.java:2592)
	at org.eclipse.persistence.internal.queries.ExpressionQueryMechanism.selectAllRows(ExpressionQueryMechanism.java:2551)
	at org.eclipse.persistence.queries.ReadAllQuery.executeObjectLevelReadQuery(ReadAllQuery.java:418)
	at org.eclipse.persistence.queries.ObjectLevelReadQuery.executeDatabaseQuery(ObjectLevelReadQuery.java:1097)
	at org.eclipse.persistence.queries.DatabaseQuery.execute(DatabaseQuery.java:829)
	at org.eclipse.persistence.queries.ObjectLevelReadQuery.execute(ObjectLevelReadQuery.java:1056)
	at org.eclipse.persistence.queries.ReadAllQuery.execute(ReadAllQuery.java:390)
	at org.eclipse.persistence.queries.ObjectLevelReadQuery.executeInUnitOfWork(ObjectLevelReadQuery.java:1144)
	at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2863)
	at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1501)
	at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1483)
	at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1457)
	at org.eclipse.persistence.internal.jpa.EJBQueryImpl.executeReadQuery(EJBQueryImpl.java:485)
	at org.eclipse.persistence.internal.jpa.EJBQueryImpl.getResultList(EJBQueryImpl.java:742)
	at mobile.logic.general.MenuGenerator.fillSubsystems(MenuGenerator.java:81)
	at mobile.logic.general.MenuGenerator.process(MenuGenerator.java:46)
	at mobile.core.processor.CoreProcessor.executeProcesses(CoreProcessor.java:136)
	at mobile.core.processor.CoreProcessor.process(CoreProcessor.java:62)
	at mobile.core.server.Core.service(Core.java:71)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
	at org.mortbay.jetty.security.ConstraintsSecurityHandler.handle(ConstraintsSecurityHandler.java:220)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:822)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:305)
	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:229)
	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:113)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:324)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:550)
	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:890)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:743)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:407)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:421)
	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '))) ORDER BY SUBSYSTEM_ID ASC' at line 1
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
	at com.mysql.jdbc.Util.getInstance(Util.java:386)
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3597)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3529)
	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1990)
	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2151)
	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2625)
	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2119)
	at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2281)
	at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeSelect(DatabaseAccessor.java:931)
	at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:607)
	... 44 more
2012-04-02 01:38:45,502 [qtp0-2] ERROR (CoreProcessor.java:68) - 
Internal Exception: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '))) ORDER BY SUBSYSTEM_ID ASC' at line 1
Error Code: 1064
Call: SELECT NAME, SUBSYSTEM_ID, COMPANY_ID, LANGUAGE_ID FROM SUBSYSTEM WHERE (((COMPANY_ID = ?) AND (LANGUAGE_ID = ?)) AND (SUBSYSTEM_ID IN ())) ORDER BY SUBSYSTEM_ID ASC
	bind => [MXT, ES]
Query: ReadAllQuery(referenceClass=Subsystem sql="SELECT NAME, SUBSYSTEM_ID, COMPANY_ID, LANGUAGE_ID FROM SUBSYSTEM WHERE (((COMPANY_ID = ?) AND (LANGUAGE_ID = ?)) AND (SUBSYSTEM_ID IN ?)) ORDER BY SUBSYSTEM_ID ASC")
Local Exception Stack: 
Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.3.0.v20110604-r9504): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '))) ORDER BY SUBSYSTEM_ID ASC' at line 1
Error Code: 1064
Call: SELECT NAME, SUBSYSTEM_ID, COMPANY_ID, LANGUAGE_ID FROM SUBSYSTEM WHERE (((COMPANY_ID = ?) AND (LANGUAGE_ID = ?)) AND (SUBSYSTEM_ID IN ())) ORDER BY SUBSYSTEM_ID ASC
	bind => [MXT, ES]
Query: ReadAllQuery(referenceClass=Subsystem sql="SELECT NAME, SUBSYSTEM_ID, COMPANY_ID, LANGUAGE_ID FROM SUBSYSTEM WHERE (((COMPANY_ID = ?) AND (LANGUAGE_ID = ?)) AND (SUBSYSTEM_ID IN ?)) ORDER BY SUBSYSTEM_ID ASC")
	at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:333)
	at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:644)
	at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:535)
	at org.eclipse.persistence.internal.sessions.AbstractSession.basicExecuteCall(AbstractSession.java:1702)
	at org.eclipse.persistence.sessions.server.ClientSession.executeCall(ClientSession.java:253)
	at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:207)
	at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:193)
	at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeSelectCall(DatasourceCallQueryMechanism.java:264)
	at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.selectAllRows(DatasourceCallQueryMechanism.java:646)
	at org.eclipse.persistence.internal.queries.ExpressionQueryMechanism.selectAllRowsFromTable(ExpressionQueryMechanism.java:2592)
	at org.eclipse.persistence.internal.queries.ExpressionQueryMechanism.selectAllRows(ExpressionQueryMechanism.java:2551)
	at org.eclipse.persistence.queries.ReadAllQuery.executeObjectLevelReadQuery(ReadAllQuery.java:418)
	at org.eclipse.persistence.queries.ObjectLevelReadQuery.executeDatabaseQuery(ObjectLevelReadQuery.java:1097)
	at org.eclipse.persistence.queries.DatabaseQuery.execute(DatabaseQuery.java:829)
	at org.eclipse.persistence.queries.ObjectLevelReadQuery.execute(ObjectLevelReadQuery.java:1056)
	at org.eclipse.persistence.queries.ReadAllQuery.execute(ReadAllQuery.java:390)
	at org.eclipse.persistence.queries.ObjectLevelReadQuery.executeInUnitOfWork(ObjectLevelReadQuery.java:1144)
	at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2863)
	at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1501)
	at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1483)
	at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1457)
	at org.eclipse.persistence.internal.jpa.EJBQueryImpl.executeReadQuery(EJBQueryImpl.java:485)
	at org.eclipse.persistence.internal.jpa.EJBQueryImpl.getResultList(EJBQueryImpl.java:742)
	at mobile.logic.general.MenuGenerator.fillSubsystems(MenuGenerator.java:81)
	at mobile.logic.general.MenuGenerator.process(MenuGenerator.java:46)
	at mobile.core.processor.CoreProcessor.executeProcesses(CoreProcessor.java:136)
	at mobile.core.processor.CoreProcessor.process(CoreProcessor.java:62)
	at mobile.core.server.Core.service(Core.java:71)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
	at org.mortbay.jetty.security.ConstraintsSecurityHandler.handle(ConstraintsSecurityHandler.java:220)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:822)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:305)
	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:229)
	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:113)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:324)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:550)
	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:890)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:743)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:215)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:407)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:421)
	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '))) ORDER BY SUBSYSTEM_ID ASC' at line 1
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
	at com.mysql.jdbc.Util.getInstance(Util.java:386)
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3597)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3529)
	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1990)
	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2151)
	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2625)
	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2119)
	at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2281)
	at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeSelect(DatabaseAccessor.java:931)
	at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:607)
	... 44 more
2012-04-02 02:02:52,564 [qtp0-2] ERROR (CoreProcessor.java:68) - For input string: "null"
java.lang.NumberFormatException: For input string: "null"
	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
	at java.lang.Integer.parseInt(Integer.java:449)
	at java.lang.Integer.parseInt(Integer.java:499)
	at mobile.tools.common.convertion.CoreConverter.convertToType(CoreConverter.java:333)
	at mobile.core.processor.GeneralMaintenance.completeItemsWithFilters(GeneralMaintenance.java:95)
	at mobile.core.processor.GeneralMaintenance.process(GeneralMaintenance.java:32)
	at mobile.core.processor.CoreProcessor.executeProcesses(CoreProcessor.java:121)
	at mobile.core.processor.CoreProcessor.process(CoreProcessor.java:62)
	at mobile.core.server.Core.service(Core.java:71)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
	at org.mortbay.jetty.security.ConstraintsSecurityHandler.handle(ConstraintsSecurityHandler.java:220)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:822)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:305)
	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:229)
	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:113)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:324)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:550)
	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:890)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:743)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:215)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:407)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:421)
	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
2012-04-22 15:56:41,655 [qtp0-3] ERROR (CoreProcessor.java:74) - 
Internal Exception: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '))) ORDER BY SUBSYSTEM_ID ASC' at line 1
Error Code: 1064
Call: SELECT NAME, SUBSYSTEM_ID, COMPANY_ID, LANGUAGE_ID FROM SUBSYSTEM WHERE (((COMPANY_ID = ?) AND (LANGUAGE_ID = ?)) AND (SUBSYSTEM_ID IN ())) ORDER BY SUBSYSTEM_ID ASC
	bind => [MXT, ES]
Query: ReadAllQuery(referenceClass=Subsystem sql="SELECT NAME, SUBSYSTEM_ID, COMPANY_ID, LANGUAGE_ID FROM SUBSYSTEM WHERE (((COMPANY_ID = ?) AND (LANGUAGE_ID = ?)) AND (SUBSYSTEM_ID IN ?)) ORDER BY SUBSYSTEM_ID ASC")
Local Exception Stack: 
Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.3.0.v20110604-r9504): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '))) ORDER BY SUBSYSTEM_ID ASC' at line 1
Error Code: 1064
Call: SELECT NAME, SUBSYSTEM_ID, COMPANY_ID, LANGUAGE_ID FROM SUBSYSTEM WHERE (((COMPANY_ID = ?) AND (LANGUAGE_ID = ?)) AND (SUBSYSTEM_ID IN ())) ORDER BY SUBSYSTEM_ID ASC
	bind => [MXT, ES]
Query: ReadAllQuery(referenceClass=Subsystem sql="SELECT NAME, SUBSYSTEM_ID, COMPANY_ID, LANGUAGE_ID FROM SUBSYSTEM WHERE (((COMPANY_ID = ?) AND (LANGUAGE_ID = ?)) AND (SUBSYSTEM_ID IN ?)) ORDER BY SUBSYSTEM_ID ASC")
	at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:333)
	at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:644)
	at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:535)
	at org.eclipse.persistence.internal.sessions.AbstractSession.basicExecuteCall(AbstractSession.java:1702)
	at org.eclipse.persistence.sessions.server.ClientSession.executeCall(ClientSession.java:253)
	at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:207)
	at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:193)
	at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeSelectCall(DatasourceCallQueryMechanism.java:264)
	at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.selectAllRows(DatasourceCallQueryMechanism.java:646)
	at org.eclipse.persistence.internal.queries.ExpressionQueryMechanism.selectAllRowsFromTable(ExpressionQueryMechanism.java:2592)
	at org.eclipse.persistence.internal.queries.ExpressionQueryMechanism.selectAllRows(ExpressionQueryMechanism.java:2551)
	at org.eclipse.persistence.queries.ReadAllQuery.executeObjectLevelReadQuery(ReadAllQuery.java:418)
	at org.eclipse.persistence.queries.ObjectLevelReadQuery.executeDatabaseQuery(ObjectLevelReadQuery.java:1097)
	at org.eclipse.persistence.queries.DatabaseQuery.execute(DatabaseQuery.java:829)
	at org.eclipse.persistence.queries.ObjectLevelReadQuery.execute(ObjectLevelReadQuery.java:1056)
	at org.eclipse.persistence.queries.ReadAllQuery.execute(ReadAllQuery.java:390)
	at org.eclipse.persistence.queries.ObjectLevelReadQuery.executeInUnitOfWork(ObjectLevelReadQuery.java:1144)
	at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2863)
	at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1501)
	at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1483)
	at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1457)
	at org.eclipse.persistence.internal.jpa.EJBQueryImpl.executeReadQuery(EJBQueryImpl.java:485)
	at org.eclipse.persistence.internal.jpa.EJBQueryImpl.getResultList(EJBQueryImpl.java:742)
	at mobile.logic.general.MenuGenerator.fillSubsystems(MenuGenerator.java:81)
	at mobile.logic.general.MenuGenerator.process(MenuGenerator.java:46)
	at mobile.core.processor.CoreProcessor.executeProcesses(CoreProcessor.java:143)
	at mobile.core.processor.CoreProcessor.process(CoreProcessor.java:68)
	at mobile.core.server.Core.service(Core.java:71)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
	at org.mortbay.jetty.security.ConstraintsSecurityHandler.handle(ConstraintsSecurityHandler.java:220)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:822)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:305)
	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:229)
	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:113)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:324)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:550)
	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:890)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:743)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:215)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:407)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:421)
	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '))) ORDER BY SUBSYSTEM_ID ASC' at line 1
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
	at com.mysql.jdbc.Util.getInstance(Util.java:386)
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3597)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3529)
	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1990)
	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2151)
	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2625)
	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2119)
	at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2281)
	at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeSelect(DatabaseAccessor.java:931)
	at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:607)
	... 44 more
2012-04-22 15:57:52,287 [qtp0-3] ERROR (CoreProcessor.java:74) - 
Internal Exception: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '))) ORDER BY SUBSYSTEM_ID ASC' at line 1
Error Code: 1064
Call: SELECT NAME, SUBSYSTEM_ID, COMPANY_ID, LANGUAGE_ID FROM SUBSYSTEM WHERE (((COMPANY_ID = ?) AND (LANGUAGE_ID = ?)) AND (SUBSYSTEM_ID IN ())) ORDER BY SUBSYSTEM_ID ASC
	bind => [MXT, ES]
Query: ReadAllQuery(referenceClass=Subsystem sql="SELECT NAME, SUBSYSTEM_ID, COMPANY_ID, LANGUAGE_ID FROM SUBSYSTEM WHERE (((COMPANY_ID = ?) AND (LANGUAGE_ID = ?)) AND (SUBSYSTEM_ID IN ?)) ORDER BY SUBSYSTEM_ID ASC")
Local Exception Stack: 
Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.3.0.v20110604-r9504): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '))) ORDER BY SUBSYSTEM_ID ASC' at line 1
Error Code: 1064
Call: SELECT NAME, SUBSYSTEM_ID, COMPANY_ID, LANGUAGE_ID FROM SUBSYSTEM WHERE (((COMPANY_ID = ?) AND (LANGUAGE_ID = ?)) AND (SUBSYSTEM_ID IN ())) ORDER BY SUBSYSTEM_ID ASC
	bind => [MXT, ES]
Query: ReadAllQuery(referenceClass=Subsystem sql="SELECT NAME, SUBSYSTEM_ID, COMPANY_ID, LANGUAGE_ID FROM SUBSYSTEM WHERE (((COMPANY_ID = ?) AND (LANGUAGE_ID = ?)) AND (SUBSYSTEM_ID IN ?)) ORDER BY SUBSYSTEM_ID ASC")
	at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:333)
	at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:644)
	at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:535)
	at org.eclipse.persistence.internal.sessions.AbstractSession.basicExecuteCall(AbstractSession.java:1702)
	at org.eclipse.persistence.sessions.server.ClientSession.executeCall(ClientSession.java:253)
	at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:207)
	at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:193)
	at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeSelectCall(DatasourceCallQueryMechanism.java:264)
	at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.selectAllRows(DatasourceCallQueryMechanism.java:646)
	at org.eclipse.persistence.internal.queries.ExpressionQueryMechanism.selectAllRowsFromTable(ExpressionQueryMechanism.java:2592)
	at org.eclipse.persistence.internal.queries.ExpressionQueryMechanism.selectAllRows(ExpressionQueryMechanism.java:2551)
	at org.eclipse.persistence.queries.ReadAllQuery.executeObjectLevelReadQuery(ReadAllQuery.java:418)
	at org.eclipse.persistence.queries.ObjectLevelReadQuery.executeDatabaseQuery(ObjectLevelReadQuery.java:1097)
	at org.eclipse.persistence.queries.DatabaseQuery.execute(DatabaseQuery.java:829)
	at org.eclipse.persistence.queries.ObjectLevelReadQuery.execute(ObjectLevelReadQuery.java:1056)
	at org.eclipse.persistence.queries.ReadAllQuery.execute(ReadAllQuery.java:390)
	at org.eclipse.persistence.queries.ObjectLevelReadQuery.executeInUnitOfWork(ObjectLevelReadQuery.java:1144)
	at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2863)
	at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1501)
	at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1483)
	at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1457)
	at org.eclipse.persistence.internal.jpa.EJBQueryImpl.executeReadQuery(EJBQueryImpl.java:485)
	at org.eclipse.persistence.internal.jpa.EJBQueryImpl.getResultList(EJBQueryImpl.java:742)
	at mobile.logic.general.MenuGenerator.fillSubsystems(MenuGenerator.java:81)
	at mobile.logic.general.MenuGenerator.process(MenuGenerator.java:46)
	at mobile.core.processor.CoreProcessor.executeProcesses(CoreProcessor.java:143)
	at mobile.core.processor.CoreProcessor.process(CoreProcessor.java:68)
	at mobile.core.server.Core.service(Core.java:71)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
	at org.mortbay.jetty.security.ConstraintsSecurityHandler.handle(ConstraintsSecurityHandler.java:220)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:822)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:305)
	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:229)
	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:113)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:324)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:550)
	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:890)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:743)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:407)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:421)
	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '))) ORDER BY SUBSYSTEM_ID ASC' at line 1
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
	at com.mysql.jdbc.Util.getInstance(Util.java:386)
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3597)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3529)
	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1990)
	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2151)
	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2625)
	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2119)
	at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2281)
	at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeSelect(DatabaseAccessor.java:931)
	at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:607)
	... 44 more
2012-04-23 00:18:42,405 [qtp0-8] ERROR (CoreProcessor.java:74) - ERROR AL CONECTARSE CON EL SIMULADOR
mobile.tools.common.Objection: ERROR AL CONECTARSE CON EL SIMULADOR
	at mobile.logic.microxt.SimulatorClient.sendMessage(SimulatorClient.java:67)
	at mobile.logic.microxt.RemoteInstrumentation.process(RemoteInstrumentation.java:68)
	at mobile.core.processor.CoreProcessor.executeProcesses(CoreProcessor.java:143)
	at mobile.core.processor.CoreProcessor.process(CoreProcessor.java:68)
	at mobile.core.server.Core.service(Core.java:71)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
	at org.mortbay.jetty.security.ConstraintsSecurityHandler.handle(ConstraintsSecurityHandler.java:220)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:822)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:305)
	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:229)
	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:113)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:324)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:550)
	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:890)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:743)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:215)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:407)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:421)
	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
2012-05-16 14:47:29,789 [qtp0-2] ERROR (CoreProcessor.java:74) - An exception occurred while creating a query in EntityManager: 
Exception Description: Error compiling the query [Select a.pk.subaccount, a.capital, a.interest, a.reducedCapital, a.fromDate, a.expirationDate, a.paymentDate from MicroAccountQuota a where a.pk.companyId = ?1 and a.pk.expired = ?2 and a.pk.accountId = ?3 order by a.status], line 1, column 217: unknown state or association field [status] of class [mobile.entity.microcredit.MicroAccountQuota].
java.lang.IllegalArgumentException: An exception occurred while creating a query in EntityManager: 
Exception Description: Error compiling the query [Select a.pk.subaccount, a.capital, a.interest, a.reducedCapital, a.fromDate, a.expirationDate, a.paymentDate from MicroAccountQuota a where a.pk.companyId = ?1 and a.pk.expired = ?2 and a.pk.accountId = ?3 order by a.status], line 1, column 217: unknown state or association field [status] of class [mobile.entity.microcredit.MicroAccountQuota].
	at org.eclipse.persistence.internal.jpa.EntityManagerImpl.createQuery(EntityManagerImpl.java:1477)
	at mobile.core.processor.GeneralQuery.processQuery(GeneralQuery.java:290)
	at mobile.core.processor.GeneralQuery.process(GeneralQuery.java:37)
	at mobile.core.processor.CoreProcessor.executeProcesses(CoreProcessor.java:126)
	at mobile.core.processor.CoreProcessor.process(CoreProcessor.java:68)
	at mobile.core.server.Core.service(Core.java:71)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
	at org.mortbay.jetty.security.ConstraintsSecurityHandler.handle(ConstraintsSecurityHandler.java:220)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:822)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:305)
	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:229)
	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:113)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:324)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:550)
	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:890)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:743)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:215)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:407)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:421)
	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
Caused by: Exception [EclipseLink-8030] (Eclipse Persistence Services - 2.3.0.v20110604-r9504): org.eclipse.persistence.exceptions.JPQLException
Exception Description: Error compiling the query [Select a.pk.subaccount, a.capital, a.interest, a.reducedCapital, a.fromDate, a.expirationDate, a.paymentDate from MicroAccountQuota a where a.pk.companyId = ?1 and a.pk.expired = ?2 and a.pk.accountId = ?3 order by a.status], line 1, column 217: unknown state or association field [status] of class [mobile.entity.microcredit.MicroAccountQuota].
	at org.eclipse.persistence.exceptions.JPQLException.unknownAttribute(JPQLException.java:457)
	at org.eclipse.persistence.internal.jpa.parsing.DotNode.validate(DotNode.java:88)
	at org.eclipse.persistence.internal.jpa.parsing.OrderByItemNode.validate(OrderByItemNode.java:52)
	at org.eclipse.persistence.internal.jpa.parsing.OrderByNode.validate(OrderByNode.java:61)
	at org.eclipse.persistence.internal.jpa.parsing.ParseTree.validate(ParseTree.java:210)
	at org.eclipse.persistence.internal.jpa.parsing.ParseTree.validate(ParseTree.java:183)
	at org.eclipse.persistence.internal.jpa.parsing.ParseTree.validate(ParseTree.java:173)
	at org.eclipse.persistence.internal.jpa.parsing.JPQLParseTree.populateReadQueryInternal(JPQLParseTree.java:110)
	at org.eclipse.persistence.internal.jpa.parsing.JPQLParseTree.populateQuery(JPQLParseTree.java:84)
	at org.eclipse.persistence.internal.jpa.EJBQueryImpl.buildEJBQLDatabaseQuery(EJBQueryImpl.java:219)
	at org.eclipse.persistence.internal.jpa.EJBQueryImpl.buildEJBQLDatabaseQuery(EJBQueryImpl.java:190)
	at org.eclipse.persistence.internal.jpa.EJBQueryImpl.<init>(EJBQueryImpl.java:142)
	at org.eclipse.persistence.internal.jpa.EJBQueryImpl.<init>(EJBQueryImpl.java:126)
	at org.eclipse.persistence.internal.jpa.EntityManagerImpl.createQuery(EntityManagerImpl.java:1475)
	... 23 more
2012-05-16 14:47:41,082 [qtp0-2] ERROR (CoreProcessor.java:74) - An exception occurred while creating a query in EntityManager: 
Exception Description: Error compiling the query [Select a.pk.subaccount, a.capital, a.interest, a.reducedCapital, a.fromDate, a.expirationDate, a.paymentDate from MicroAccountQuota a where a.pk.companyId = ?1 and a.pk.expired = ?2 and a.pk.accountId = ?3 order by a.status], line 1, column 217: unknown state or association field [status] of class [mobile.entity.microcredit.MicroAccountQuota].
java.lang.IllegalArgumentException: An exception occurred while creating a query in EntityManager: 
Exception Description: Error compiling the query [Select a.pk.subaccount, a.capital, a.interest, a.reducedCapital, a.fromDate, a.expirationDate, a.paymentDate from MicroAccountQuota a where a.pk.companyId = ?1 and a.pk.expired = ?2 and a.pk.accountId = ?3 order by a.status], line 1, column 217: unknown state or association field [status] of class [mobile.entity.microcredit.MicroAccountQuota].
	at org.eclipse.persistence.internal.jpa.EntityManagerImpl.createQuery(EntityManagerImpl.java:1477)
	at mobile.core.processor.GeneralQuery.processQuery(GeneralQuery.java:290)
	at mobile.core.processor.GeneralQuery.process(GeneralQuery.java:37)
	at mobile.core.processor.CoreProcessor.executeProcesses(CoreProcessor.java:126)
	at mobile.core.processor.CoreProcessor.process(CoreProcessor.java:68)
	at mobile.core.server.Core.service(Core.java:71)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
	at org.mortbay.jetty.security.ConstraintsSecurityHandler.handle(ConstraintsSecurityHandler.java:220)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:822)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:305)
	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:229)
	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:113)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:324)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:550)
	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:890)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:743)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:407)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:421)
	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
Caused by: Exception [EclipseLink-8030] (Eclipse Persistence Services - 2.3.0.v20110604-r9504): org.eclipse.persistence.exceptions.JPQLException
Exception Description: Error compiling the query [Select a.pk.subaccount, a.capital, a.interest, a.reducedCapital, a.fromDate, a.expirationDate, a.paymentDate from MicroAccountQuota a where a.pk.companyId = ?1 and a.pk.expired = ?2 and a.pk.accountId = ?3 order by a.status], line 1, column 217: unknown state or association field [status] of class [mobile.entity.microcredit.MicroAccountQuota].
	at org.eclipse.persistence.exceptions.JPQLException.unknownAttribute(JPQLException.java:457)
	at org.eclipse.persistence.internal.jpa.parsing.DotNode.validate(DotNode.java:88)
	at org.eclipse.persistence.internal.jpa.parsing.OrderByItemNode.validate(OrderByItemNode.java:52)
	at org.eclipse.persistence.internal.jpa.parsing.OrderByNode.validate(OrderByNode.java:61)
	at org.eclipse.persistence.internal.jpa.parsing.ParseTree.validate(ParseTree.java:210)
	at org.eclipse.persistence.internal.jpa.parsing.ParseTree.validate(ParseTree.java:183)
	at org.eclipse.persistence.internal.jpa.parsing.ParseTree.validate(ParseTree.java:173)
	at org.eclipse.persistence.internal.jpa.parsing.JPQLParseTree.populateReadQueryInternal(JPQLParseTree.java:110)
	at org.eclipse.persistence.internal.jpa.parsing.JPQLParseTree.populateQuery(JPQLParseTree.java:84)
	at org.eclipse.persistence.internal.jpa.EJBQueryImpl.buildEJBQLDatabaseQuery(EJBQueryImpl.java:219)
	at org.eclipse.persistence.internal.jpa.EJBQueryImpl.buildEJBQLDatabaseQuery(EJBQueryImpl.java:190)
	at org.eclipse.persistence.internal.jpa.EJBQueryImpl.<init>(EJBQueryImpl.java:142)
	at org.eclipse.persistence.internal.jpa.EJBQueryImpl.<init>(EJBQueryImpl.java:126)
	at org.eclipse.persistence.internal.jpa.EntityManagerImpl.createQuery(EntityManagerImpl.java:1475)
	... 23 more
2012-05-16 14:47:44,899 [qtp0-2] ERROR (CoreProcessor.java:74) - An exception occurred while creating a query in EntityManager: 
Exception Description: Error compiling the query [Select a.pk.subaccount, a.capital, a.interest, a.reducedCapital, a.fromDate, a.expirationDate, a.paymentDate from MicroAccountQuota a where a.pk.companyId = ?1 and a.pk.expired = ?2 and a.pk.accountId = ?3 order by a.status], line 1, column 217: unknown state or association field [status] of class [mobile.entity.microcredit.MicroAccountQuota].
java.lang.IllegalArgumentException: An exception occurred while creating a query in EntityManager: 
Exception Description: Error compiling the query [Select a.pk.subaccount, a.capital, a.interest, a.reducedCapital, a.fromDate, a.expirationDate, a.paymentDate from MicroAccountQuota a where a.pk.companyId = ?1 and a.pk.expired = ?2 and a.pk.accountId = ?3 order by a.status], line 1, column 217: unknown state or association field [status] of class [mobile.entity.microcredit.MicroAccountQuota].
	at org.eclipse.persistence.internal.jpa.EntityManagerImpl.createQuery(EntityManagerImpl.java:1477)
	at mobile.core.processor.GeneralQuery.processQuery(GeneralQuery.java:290)
	at mobile.core.processor.GeneralQuery.process(GeneralQuery.java:37)
	at mobile.core.processor.CoreProcessor.executeProcesses(CoreProcessor.java:126)
	at mobile.core.processor.CoreProcessor.process(CoreProcessor.java:68)
	at mobile.core.server.Core.service(Core.java:71)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
	at org.mortbay.jetty.security.ConstraintsSecurityHandler.handle(ConstraintsSecurityHandler.java:220)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:822)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:305)
	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:229)
	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:113)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:324)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:550)
	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:890)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:743)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:407)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:421)
	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
Caused by: Exception [EclipseLink-8030] (Eclipse Persistence Services - 2.3.0.v20110604-r9504): org.eclipse.persistence.exceptions.JPQLException
Exception Description: Error compiling the query [Select a.pk.subaccount, a.capital, a.interest, a.reducedCapital, a.fromDate, a.expirationDate, a.paymentDate from MicroAccountQuota a where a.pk.companyId = ?1 and a.pk.expired = ?2 and a.pk.accountId = ?3 order by a.status], line 1, column 217: unknown state or association field [status] of class [mobile.entity.microcredit.MicroAccountQuota].
	at org.eclipse.persistence.exceptions.JPQLException.unknownAttribute(JPQLException.java:457)
	at org.eclipse.persistence.internal.jpa.parsing.DotNode.validate(DotNode.java:88)
	at org.eclipse.persistence.internal.jpa.parsing.OrderByItemNode.validate(OrderByItemNode.java:52)
	at org.eclipse.persistence.internal.jpa.parsing.OrderByNode.validate(OrderByNode.java:61)
	at org.eclipse.persistence.internal.jpa.parsing.ParseTree.validate(ParseTree.java:210)
	at org.eclipse.persistence.internal.jpa.parsing.ParseTree.validate(ParseTree.java:183)
	at org.eclipse.persistence.internal.jpa.parsing.ParseTree.validate(ParseTree.java:173)
	at org.eclipse.persistence.internal.jpa.parsing.JPQLParseTree.populateReadQueryInternal(JPQLParseTree.java:110)
	at org.eclipse.persistence.internal.jpa.parsing.JPQLParseTree.populateQuery(JPQLParseTree.java:84)
	at org.eclipse.persistence.internal.jpa.EJBQueryImpl.buildEJBQLDatabaseQuery(EJBQueryImpl.java:219)
	at org.eclipse.persistence.internal.jpa.EJBQueryImpl.buildEJBQLDatabaseQuery(EJBQueryImpl.java:190)
	at org.eclipse.persistence.internal.jpa.EJBQueryImpl.<init>(EJBQueryImpl.java:142)
	at org.eclipse.persistence.internal.jpa.EJBQueryImpl.<init>(EJBQueryImpl.java:126)
	at org.eclipse.persistence.internal.jpa.EntityManagerImpl.createQuery(EntityManagerImpl.java:1475)
	... 23 more
2012-05-16 14:48:00,520 [qtp0-2] ERROR (CoreProcessor.java:74) - You have attempted to set a value of type class java.lang.String for parameter 3 with expected type of class java.lang.Integer from query string Select a.coordinateType, a.description, a.p11, a.p12, a.p21, a.p22, a.p31, a.p32, a.p41, a.p42 from GeographicZone a where a.pk.companyId = ?1 and a.pk.languageId = ?2 and a.pk.geographicZoneId = ?3.
java.lang.IllegalArgumentException: You have attempted to set a value of type class java.lang.String for parameter 3 with expected type of class java.lang.Integer from query string Select a.coordinateType, a.description, a.p11, a.p12, a.p21, a.p22, a.p31, a.p32, a.p41, a.p42 from GeographicZone a where a.pk.companyId = ?1 and a.pk.languageId = ?2 and a.pk.geographicZoneId = ?3.
	at org.eclipse.persistence.internal.jpa.EJBQueryImpl.setParameterInternal(EJBQueryImpl.java:1261)
	at org.eclipse.persistence.internal.jpa.EJBQueryImpl.setParameterInternal(EJBQueryImpl.java:1279)
	at org.eclipse.persistence.internal.jpa.EJBQueryImpl.setParameter(EJBQueryImpl.java:1182)
	at org.eclipse.persistence.internal.jpa.EJBQueryImpl.setParameter(EJBQueryImpl.java:81)
	at mobile.core.processor.GeneralQuery.processQuery(GeneralQuery.java:297)
	at mobile.core.processor.GeneralQuery.process(GeneralQuery.java:37)
	at mobile.core.processor.CoreProcessor.executeProcesses(CoreProcessor.java:126)
	at mobile.core.processor.CoreProcessor.process(CoreProcessor.java:68)
	at mobile.core.server.Core.service(Core.java:71)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
	at org.mortbay.jetty.security.ConstraintsSecurityHandler.handle(ConstraintsSecurityHandler.java:220)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:822)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:305)
	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:229)
	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:113)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:324)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:550)
	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:890)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:743)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:215)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:407)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:421)
	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
2012-07-12 21:12:21,387 [qtp0-0] ERROR (CoreProcessor.java:74) - Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.3.0.v20110604-r9504): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'microxt_2'
Error Code: 1049
javax.persistence.PersistenceException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.3.0.v20110604-r9504): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'microxt_2'
Error Code: 1049
	at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:501)
	at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getDatabaseSession(EntityManagerFactoryDelegate.java:188)
	at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.createEntityManagerImpl(EntityManagerFactoryDelegate.java:277)
	at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:290)
	at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:268)
	at mobile.entity.manager.JPManagerFactory.createEntityManager(JPManagerFactory.java:56)
	at mobile.entity.manager.JpManager.createEntityManager(JpManager.java:61)
	at mobile.core.processor.CoreProcessor.process(CoreProcessor.java:62)
	at mobile.core.server.Core.service(Core.java:71)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
	at org.mortbay.jetty.security.ConstraintsSecurityHandler.handle(ConstraintsSecurityHandler.java:220)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:822)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:305)
	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:229)
	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:113)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:324)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:550)
	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:890)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:743)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:215)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:407)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:421)
	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
Caused by: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.3.0.v20110604-r9504): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'microxt_2'
Error Code: 1049
	at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:324)
	at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:319)
	at org.eclipse.persistence.sessions.DefaultConnector.connect(DefaultConnector.java:138)
	at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162)
	at org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor.connectInternal(DatasourceAccessor.java:330)
	at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.connectInternal(DatabaseAccessor.java:293)
	at org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:418)
	at org.eclipse.persistence.sessions.server.ConnectionPool.buildConnection(ConnectionPool.java:216)
	at org.eclipse.persistence.sessions.server.ConnectionPool.startUp(ConnectionPool.java:504)
	at org.eclipse.persistence.sessions.server.ServerSession.connect(ServerSession.java:484)
	at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.login(DatabaseSessionImpl.java:630)
	at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:208)
	at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:472)
	... 26 more
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'microxt_2'
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
	at com.mysql.jdbc.Util.getInstance(Util.java:386)
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3597)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3529)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:935)
	at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:4101)
	at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1300)
	at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2337)
	at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2370)
	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2154)
	at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:792)
	at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:381)
	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305)
	at java.sql.DriverManager.getConnection(DriverManager.java:582)
	at java.sql.DriverManager.getConnection(DriverManager.java:154)
	at org.eclipse.persistence.sessions.DefaultConnector.connect(DefaultConnector.java:98)
	... 36 more
2012-07-12 21:19:39,160 [qtp0-0] ERROR (CoreProcessor.java:74) - Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.3.0.v20110604-r9504): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'microxt_2'
Error Code: 1049
javax.persistence.PersistenceException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.3.0.v20110604-r9504): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'microxt_2'
Error Code: 1049
	at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:501)
	at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getDatabaseSession(EntityManagerFactoryDelegate.java:188)
	at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.createEntityManagerImpl(EntityManagerFactoryDelegate.java:277)
	at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:290)
	at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:268)
	at mobile.entity.manager.JPManagerFactory.createEntityManager(JPManagerFactory.java:56)
	at mobile.entity.manager.JpManager.createEntityManager(JpManager.java:61)
	at mobile.core.processor.CoreProcessor.process(CoreProcessor.java:62)
	at mobile.core.server.Core.service(Core.java:71)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
	at org.mortbay.jetty.security.ConstraintsSecurityHandler.handle(ConstraintsSecurityHandler.java:220)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:822)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:305)
	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:229)
	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:113)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:324)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:550)
	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:890)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:743)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:215)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:407)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:421)
	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
Caused by: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.3.0.v20110604-r9504): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'microxt_2'
Error Code: 1049
	at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:324)
	at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:319)
	at org.eclipse.persistence.sessions.DefaultConnector.connect(DefaultConnector.java:138)
	at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162)
	at org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor.connectInternal(DatasourceAccessor.java:330)
	at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.connectInternal(DatabaseAccessor.java:293)
	at org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:418)
	at org.eclipse.persistence.sessions.server.ConnectionPool.buildConnection(ConnectionPool.java:216)
	at org.eclipse.persistence.sessions.server.ConnectionPool.startUp(ConnectionPool.java:504)
	at org.eclipse.persistence.sessions.server.ServerSession.connect(ServerSession.java:484)
	at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.login(DatabaseSessionImpl.java:630)
	at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:208)
	at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:472)
	... 26 more
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'microxt_2'
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
	at com.mysql.jdbc.Util.getInstance(Util.java:386)
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3597)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3529)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:935)
	at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:4101)
	at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1300)
	at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2337)
	at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2370)
	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2154)
	at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:792)
	at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:381)
	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305)
	at java.sql.DriverManager.getConnection(DriverManager.java:582)
	at java.sql.DriverManager.getConnection(DriverManager.java:154)
	at org.eclipse.persistence.sessions.DefaultConnector.connect(DefaultConnector.java:98)
	... 36 more
